diff --git a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts
index 0e9d573cfaae..c4cf3ca91536 100644
--- a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts
+++ b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts
@@ -28,7 +28,6 @@ export class CreateAnalyzerCommand extends $Command<
CreateAnalyzerCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateAnalyzerCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts
index 4880b643e7e1..95c9acc5213f 100644
--- a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts
+++ b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts
@@ -29,7 +29,6 @@ export class CreateArchiveRuleCommand extends $Command<
CreateArchiveRuleCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateArchiveRuleCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts
index a0e6670228fb..f7962e96f045 100644
--- a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts
+++ b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts
@@ -30,7 +30,6 @@ export class DeleteAnalyzerCommand extends $Command<
DeleteAnalyzerCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class DeleteAnalyzerCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts
index 6027599f85a3..c8fb52a0cc75 100644
--- a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts
+++ b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts
@@ -28,7 +28,6 @@ export class DeleteArchiveRuleCommand extends $Command<
DeleteArchiveRuleCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteArchiveRuleCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts
index 26f5ad3b9bce..ff5a0206b04d 100644
--- a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts
+++ b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts
@@ -28,7 +28,6 @@ export class GetAnalyzedResourceCommand extends $Command<
GetAnalyzedResourceCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetAnalyzedResourceCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts
index 7fb7bd5edbf7..6df89f35a040 100644
--- a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts
+++ b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts
@@ -28,7 +28,6 @@ export class GetAnalyzerCommand extends $Command<
GetAnalyzerCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetAnalyzerCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts
index 8ed170f98d54..7f0e2c7b9c88 100644
--- a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts
+++ b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts
@@ -28,7 +28,6 @@ export class GetArchiveRuleCommand extends $Command<
GetArchiveRuleCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetArchiveRuleCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/GetFindingCommand.ts b/clients/client-accessanalyzer/commands/GetFindingCommand.ts
index 5cf77f21a82f..137da3b10fb0 100644
--- a/clients/client-accessanalyzer/commands/GetFindingCommand.ts
+++ b/clients/client-accessanalyzer/commands/GetFindingCommand.ts
@@ -28,7 +28,6 @@ export class GetFindingCommand extends $Command<
GetFindingCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetFindingCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts
index 7399c44792e4..217c10bf9c4e 100644
--- a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts
+++ b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts
@@ -29,7 +29,6 @@ export class ListAnalyzedResourcesCommand extends $Command<
ListAnalyzedResourcesCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class ListAnalyzedResourcesCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts
index 3f3256ac4560..7492aeeb4eb1 100644
--- a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts
+++ b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts
@@ -28,7 +28,6 @@ export class ListAnalyzersCommand extends $Command<
ListAnalyzersCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListAnalyzersCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts
index 111d65a1515b..8e00f5711926 100644
--- a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts
+++ b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts
@@ -28,7 +28,6 @@ export class ListArchiveRulesCommand extends $Command<
ListArchiveRulesCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListArchiveRulesCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts
index 601cb2b523b2..16458a951e1f 100644
--- a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts
+++ b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts
@@ -28,7 +28,6 @@ export class ListFindingsCommand extends $Command<
ListFindingsCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListFindingsCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts
index e63be2f51e3c..d2cf31955018 100644
--- a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts
+++ b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts
@@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command<
ListTagsForResourceCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts
index 330fb86c93fe..3898570a2db5 100644
--- a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts
+++ b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts
@@ -28,7 +28,6 @@ export class StartResourceScanCommand extends $Command<
StartResourceScanCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class StartResourceScanCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/TagResourceCommand.ts b/clients/client-accessanalyzer/commands/TagResourceCommand.ts
index c13645dd0e36..2574b24af84c 100644
--- a/clients/client-accessanalyzer/commands/TagResourceCommand.ts
+++ b/clients/client-accessanalyzer/commands/TagResourceCommand.ts
@@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command<
TagResourceCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts
index d37c511892b8..a24b783f606f 100644
--- a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts
+++ b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts
@@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command<
UntagResourceCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts
index 07f61b753a8e..b42076113ebd 100644
--- a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts
+++ b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts
@@ -28,7 +28,6 @@ export class UpdateArchiveRuleCommand extends $Command<
UpdateArchiveRuleCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateArchiveRuleCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts
index a1b1d87f36bf..3622800d8d27 100644
--- a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts
+++ b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts
@@ -28,7 +28,6 @@ export class UpdateFindingsCommand extends $Command<
UpdateFindingsCommandOutput,
AccessAnalyzerClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateFindingsCommand extends $Command<
configuration: AccessAnalyzerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts
index 064835a7d231..0943a720b406 100644
--- a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts
+++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts
@@ -47,7 +47,6 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command<
CreateCertificateAuthorityAuditReportCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -65,10 +64,7 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts
index b07c08a0ec90..a89461417484 100644
--- a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts
@@ -46,7 +46,6 @@ export class CreateCertificateAuthorityCommand extends $Command<
CreateCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -64,10 +63,7 @@ export class CreateCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/CreatePermissionCommand.ts b/clients/client-acm-pca/commands/CreatePermissionCommand.ts
index 000531925623..837fcac3b851 100644
--- a/clients/client-acm-pca/commands/CreatePermissionCommand.ts
+++ b/clients/client-acm-pca/commands/CreatePermissionCommand.ts
@@ -54,7 +54,6 @@ export class CreatePermissionCommand extends $Command<
CreatePermissionCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -72,10 +71,7 @@ export class CreatePermissionCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts
index af410c139f03..2f5a3fb2fdc4 100644
--- a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts
@@ -47,7 +47,6 @@ export class DeleteCertificateAuthorityCommand extends $Command<
DeleteCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -65,10 +64,7 @@ export class DeleteCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/DeletePermissionCommand.ts b/clients/client-acm-pca/commands/DeletePermissionCommand.ts
index 4ce1693fff88..5e1ca0761cce 100644
--- a/clients/client-acm-pca/commands/DeletePermissionCommand.ts
+++ b/clients/client-acm-pca/commands/DeletePermissionCommand.ts
@@ -56,7 +56,6 @@ export class DeletePermissionCommand extends $Command<
DeletePermissionCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -74,10 +73,7 @@ export class DeletePermissionCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/DeletePolicyCommand.ts b/clients/client-acm-pca/commands/DeletePolicyCommand.ts
index e87081297307..acaa1a896184 100644
--- a/clients/client-acm-pca/commands/DeletePolicyCommand.ts
+++ b/clients/client-acm-pca/commands/DeletePolicyCommand.ts
@@ -62,7 +62,6 @@ export class DeletePolicyCommand extends $Command<
DeletePolicyCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -80,10 +79,7 @@ export class DeletePolicyCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts
index a72eeab10d5c..d07d2497d37e 100644
--- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts
+++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts
@@ -35,7 +35,6 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command<
DescribeCertificateAuthorityAuditReportCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -56,10 +55,7 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command<
DescribeCertificateAuthorityAuditReportCommandInput,
DescribeCertificateAuthorityAuditReportCommandOutput
> {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts
index 35b9816cf73b..df2d7bc6f8c7 100644
--- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts
@@ -68,7 +68,6 @@ export class DescribeCertificateAuthorityCommand extends $Command<
DescribeCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -86,10 +85,7 @@ export class DescribeCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts
index 9b3707f2c670..e2c0c8177443 100644
--- a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts
+++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts
@@ -35,7 +35,6 @@ export class GetCertificateAuthorityCertificateCommand extends $Command<
GetCertificateAuthorityCertificateCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -53,10 +52,7 @@ export class GetCertificateAuthorityCertificateCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts
index ae860b468d83..2af37292766b 100644
--- a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts
+++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts
@@ -32,7 +32,6 @@ export class GetCertificateAuthorityCsrCommand extends $Command<
GetCertificateAuthorityCsrCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -50,10 +49,7 @@ export class GetCertificateAuthorityCsrCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/GetCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateCommand.ts
index 7b20c7cf0079..b6a38e1ba150 100644
--- a/clients/client-acm-pca/commands/GetCertificateCommand.ts
+++ b/clients/client-acm-pca/commands/GetCertificateCommand.ts
@@ -35,7 +35,6 @@ export class GetCertificateCommand extends $Command<
GetCertificateCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -53,10 +52,7 @@ export class GetCertificateCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/GetPolicyCommand.ts b/clients/client-acm-pca/commands/GetPolicyCommand.ts
index b19060ea46de..2a39d7151547 100644
--- a/clients/client-acm-pca/commands/GetPolicyCommand.ts
+++ b/clients/client-acm-pca/commands/GetPolicyCommand.ts
@@ -55,7 +55,6 @@ export class GetPolicyCommand extends $Command<
GetPolicyCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -73,10 +72,7 @@ export class GetPolicyCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts
index 9605d5a2aa2f..209607ea6521 100644
--- a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts
+++ b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts
@@ -142,7 +142,6 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command<
ImportCertificateAuthorityCertificateCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -160,10 +159,7 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/IssueCertificateCommand.ts b/clients/client-acm-pca/commands/IssueCertificateCommand.ts
index 58791e958d3e..75131c8d05a2 100644
--- a/clients/client-acm-pca/commands/IssueCertificateCommand.ts
+++ b/clients/client-acm-pca/commands/IssueCertificateCommand.ts
@@ -36,7 +36,6 @@ export class IssueCertificateCommand extends $Command<
IssueCertificateCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -54,10 +53,7 @@ export class IssueCertificateCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts
index bbd995cd7653..d62ea457a36b 100644
--- a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts
+++ b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts
@@ -28,7 +28,6 @@ export class ListCertificateAuthoritiesCommand extends $Command<
ListCertificateAuthoritiesCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListCertificateAuthoritiesCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/ListPermissionsCommand.ts b/clients/client-acm-pca/commands/ListPermissionsCommand.ts
index 7b463b9ff9eb..55fb4f6cfce7 100644
--- a/clients/client-acm-pca/commands/ListPermissionsCommand.ts
+++ b/clients/client-acm-pca/commands/ListPermissionsCommand.ts
@@ -55,7 +55,6 @@ export class ListPermissionsCommand extends $Command<
ListPermissionsCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -73,10 +72,7 @@ export class ListPermissionsCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/ListTagsCommand.ts b/clients/client-acm-pca/commands/ListTagsCommand.ts
index bac9599b6c89..058952c9f830 100644
--- a/clients/client-acm-pca/commands/ListTagsCommand.ts
+++ b/clients/client-acm-pca/commands/ListTagsCommand.ts
@@ -24,7 +24,6 @@ export type ListTagsCommandOutput = ListTagsResponse & __MetadataBearer;
* action to add one or more tags to your CA. Call the UntagCertificateAuthority action to remove tags.
*/
export class ListTagsCommand extends $Command {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -42,10 +41,7 @@ export class ListTagsCommand extends $Command {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/PutPolicyCommand.ts b/clients/client-acm-pca/commands/PutPolicyCommand.ts
index 3321c6b79493..f66915d0e116 100644
--- a/clients/client-acm-pca/commands/PutPolicyCommand.ts
+++ b/clients/client-acm-pca/commands/PutPolicyCommand.ts
@@ -56,7 +56,6 @@ export class PutPolicyCommand extends $Command<
PutPolicyCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -74,10 +73,7 @@ export class PutPolicyCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts
index c82d47f645da..5dfed12faf88 100644
--- a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts
@@ -38,7 +38,6 @@ export class RestoreCertificateAuthorityCommand extends $Command<
RestoreCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -56,10 +55,7 @@ export class RestoreCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts
index 5bdd5ede7b1c..7ee626a1ed43 100644
--- a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts
+++ b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts
@@ -47,7 +47,6 @@ export class RevokeCertificateCommand extends $Command<
RevokeCertificateCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -65,10 +64,7 @@ export class RevokeCertificateCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts
index 97281b21d999..50ab521ef697 100644
--- a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts
@@ -35,7 +35,6 @@ export class TagCertificateAuthorityCommand extends $Command<
TagCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -53,10 +52,7 @@ export class TagCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts
index 7d6dd1db02e5..f9afb1353c3c 100644
--- a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts
@@ -32,7 +32,6 @@ export class UntagCertificateAuthorityCommand extends $Command<
UntagCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -50,10 +49,7 @@ export class UntagCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts
index e07d9e505606..78e8d9670bfb 100644
--- a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts
+++ b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts
@@ -38,7 +38,6 @@ export class UpdateCertificateAuthorityCommand extends $Command<
UpdateCertificateAuthorityCommandOutput,
ACMPCAClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -56,10 +55,7 @@ export class UpdateCertificateAuthorityCommand extends $Command<
configuration: ACMPCAClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/AddTagsToCertificateCommand.ts b/clients/client-acm/commands/AddTagsToCertificateCommand.ts
index f659394ab89f..e40ab7316cc8 100644
--- a/clients/client-acm/commands/AddTagsToCertificateCommand.ts
+++ b/clients/client-acm/commands/AddTagsToCertificateCommand.ts
@@ -43,7 +43,6 @@ export class AddTagsToCertificateCommand extends $Command<
AddTagsToCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -61,10 +60,7 @@ export class AddTagsToCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/DeleteCertificateCommand.ts b/clients/client-acm/commands/DeleteCertificateCommand.ts
index 83be8a3824e4..35c39075d301 100644
--- a/clients/client-acm/commands/DeleteCertificateCommand.ts
+++ b/clients/client-acm/commands/DeleteCertificateCommand.ts
@@ -35,7 +35,6 @@ export class DeleteCertificateCommand extends $Command<
DeleteCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -53,10 +52,7 @@ export class DeleteCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/DescribeCertificateCommand.ts b/clients/client-acm/commands/DescribeCertificateCommand.ts
index a58d43d6d347..9209ed603f63 100644
--- a/clients/client-acm/commands/DescribeCertificateCommand.ts
+++ b/clients/client-acm/commands/DescribeCertificateCommand.ts
@@ -28,7 +28,6 @@ export class DescribeCertificateCommand extends $Command<
DescribeCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DescribeCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/ExportCertificateCommand.ts b/clients/client-acm/commands/ExportCertificateCommand.ts
index d9754314b08a..905d60e8bd2c 100644
--- a/clients/client-acm/commands/ExportCertificateCommand.ts
+++ b/clients/client-acm/commands/ExportCertificateCommand.ts
@@ -34,7 +34,6 @@ export class ExportCertificateCommand extends $Command<
ExportCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -52,10 +51,7 @@ export class ExportCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/GetCertificateCommand.ts b/clients/client-acm/commands/GetCertificateCommand.ts
index 06ce4133110d..78169092af9f 100644
--- a/clients/client-acm/commands/GetCertificateCommand.ts
+++ b/clients/client-acm/commands/GetCertificateCommand.ts
@@ -31,7 +31,6 @@ export class GetCertificateCommand extends $Command<
GetCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -49,10 +48,7 @@ export class GetCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/ImportCertificateCommand.ts b/clients/client-acm/commands/ImportCertificateCommand.ts
index 31b11962cb32..cd004d535ba1 100644
--- a/clients/client-acm/commands/ImportCertificateCommand.ts
+++ b/clients/client-acm/commands/ImportCertificateCommand.ts
@@ -96,7 +96,6 @@ export class ImportCertificateCommand extends $Command<
ImportCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -114,10 +113,7 @@ export class ImportCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/ListCertificatesCommand.ts b/clients/client-acm/commands/ListCertificatesCommand.ts
index 4ad792ea9b2f..3c6e5c05d274 100644
--- a/clients/client-acm/commands/ListCertificatesCommand.ts
+++ b/clients/client-acm/commands/ListCertificatesCommand.ts
@@ -31,7 +31,6 @@ export class ListCertificatesCommand extends $Command<
ListCertificatesCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -49,10 +48,7 @@ export class ListCertificatesCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/ListTagsForCertificateCommand.ts b/clients/client-acm/commands/ListTagsForCertificateCommand.ts
index 4d4bbd9ed35b..0736c702ed4e 100644
--- a/clients/client-acm/commands/ListTagsForCertificateCommand.ts
+++ b/clients/client-acm/commands/ListTagsForCertificateCommand.ts
@@ -30,7 +30,6 @@ export class ListTagsForCertificateCommand extends $Command<
ListTagsForCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class ListTagsForCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts
index 90dceef7e98b..3d3056043775 100644
--- a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts
+++ b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts
@@ -34,7 +34,6 @@ export class RemoveTagsFromCertificateCommand extends $Command<
RemoveTagsFromCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -52,10 +51,7 @@ export class RemoveTagsFromCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/RenewCertificateCommand.ts b/clients/client-acm/commands/RenewCertificateCommand.ts
index 80fa0cb32817..45c4617c37a0 100644
--- a/clients/client-acm/commands/RenewCertificateCommand.ts
+++ b/clients/client-acm/commands/RenewCertificateCommand.ts
@@ -32,7 +32,6 @@ export class RenewCertificateCommand extends $Command<
RenewCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -50,10 +49,7 @@ export class RenewCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/RequestCertificateCommand.ts b/clients/client-acm/commands/RequestCertificateCommand.ts
index 4c10ec002ed7..5dfb1bacbe75 100644
--- a/clients/client-acm/commands/RequestCertificateCommand.ts
+++ b/clients/client-acm/commands/RequestCertificateCommand.ts
@@ -37,7 +37,6 @@ export class RequestCertificateCommand extends $Command<
RequestCertificateCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -55,10 +54,7 @@ export class RequestCertificateCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/ResendValidationEmailCommand.ts b/clients/client-acm/commands/ResendValidationEmailCommand.ts
index f012146e0316..f9e324c99f1b 100644
--- a/clients/client-acm/commands/ResendValidationEmailCommand.ts
+++ b/clients/client-acm/commands/ResendValidationEmailCommand.ts
@@ -36,7 +36,6 @@ export class ResendValidationEmailCommand extends $Command<
ResendValidationEmailCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -54,10 +53,7 @@ export class ResendValidationEmailCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts
index 1839a9eefe91..cd01eda9978a 100644
--- a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts
+++ b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts
@@ -31,7 +31,6 @@ export class UpdateCertificateOptionsCommand extends $Command<
UpdateCertificateOptionsCommandOutput,
ACMClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -49,10 +48,7 @@ export class UpdateCertificateOptionsCommand extends $Command<
configuration: ACMClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts
index 3ea537129add..a1f785ec8872 100644
--- a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts
+++ b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts
@@ -29,7 +29,6 @@ export class ApproveSkillCommand extends $Command<
ApproveSkillCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class ApproveSkillCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts
index 9a7e6bb2474e..5302dabd5828 100644
--- a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts
@@ -28,7 +28,6 @@ export class AssociateContactWithAddressBookCommand extends $Command<
AssociateContactWithAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class AssociateContactWithAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts
index 2f8ef51cf887..0120c1c77ec0 100644
--- a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts
@@ -32,7 +32,6 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command<
AssociateDeviceWithNetworkProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -50,10 +49,7 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts
index feef963a2b79..8ceb0375472d 100644
--- a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts
@@ -30,7 +30,6 @@ export class AssociateDeviceWithRoomCommand extends $Command<
AssociateDeviceWithRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class AssociateDeviceWithRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts
index ed81465a0e86..301d2d753a21 100644
--- a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts
@@ -29,7 +29,6 @@ export class AssociateSkillGroupWithRoomCommand extends $Command<
AssociateSkillGroupWithRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class AssociateSkillGroupWithRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts
index 313d10c98715..03aa7c1b94a5 100644
--- a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class AssociateSkillWithSkillGroupCommand extends $Command<
AssociateSkillWithSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class AssociateSkillWithSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts
index 895faa031583..68fffe4bb91c 100644
--- a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts
+++ b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts
@@ -28,7 +28,6 @@ export class AssociateSkillWithUsersCommand extends $Command<
AssociateSkillWithUsersCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class AssociateSkillWithUsersCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts
index 5a4f8594e609..cca31dfbeb66 100644
--- a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts
@@ -28,7 +28,6 @@ export class CreateAddressBookCommand extends $Command<
CreateAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts
index 51a9d89adee2..e29369f3c35a 100644
--- a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts
@@ -29,7 +29,6 @@ export class CreateBusinessReportScheduleCommand extends $Command<
CreateBusinessReportScheduleCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateBusinessReportScheduleCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts
index 7c248277c6a0..672abf71e59b 100644
--- a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts
@@ -28,7 +28,6 @@ export class CreateConferenceProviderCommand extends $Command<
CreateConferenceProviderCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateConferenceProviderCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateContactCommand.ts b/clients/client-alexa-for-business/commands/CreateContactCommand.ts
index efabec2cb5e8..4a3b27fbb452 100644
--- a/clients/client-alexa-for-business/commands/CreateContactCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateContactCommand.ts
@@ -28,7 +28,6 @@ export class CreateContactCommand extends $Command<
CreateContactCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateContactCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts
index 232ae9bf16d3..f7437c87b03b 100644
--- a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts
@@ -28,7 +28,6 @@ export class CreateGatewayGroupCommand extends $Command<
CreateGatewayGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateGatewayGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts
index b688c013b9a2..af5d326f2a98 100644
--- a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts
@@ -28,7 +28,6 @@ export class CreateNetworkProfileCommand extends $Command<
CreateNetworkProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateNetworkProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts
index 5fa15e809b54..8974d1524e8a 100644
--- a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts
@@ -28,7 +28,6 @@ export class CreateProfileCommand extends $Command<
CreateProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts
index f25b1accd673..f8abb8ef16e6 100644
--- a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts
@@ -28,7 +28,6 @@ export class CreateRoomCommand extends $Command<
CreateRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts
index 4b7a49aff5db..9fd069429b05 100644
--- a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class CreateSkillGroupCommand extends $Command<
CreateSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/CreateUserCommand.ts b/clients/client-alexa-for-business/commands/CreateUserCommand.ts
index 1afadf64890c..e5af186d23b9 100644
--- a/clients/client-alexa-for-business/commands/CreateUserCommand.ts
+++ b/clients/client-alexa-for-business/commands/CreateUserCommand.ts
@@ -28,7 +28,6 @@ export class CreateUserCommand extends $Command<
CreateUserCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateUserCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts
index d0cdda44f205..f0d93424f2a9 100644
--- a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts
@@ -28,7 +28,6 @@ export class DeleteAddressBookCommand extends $Command<
DeleteAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts
index 184850e7f99c..564b87a21bb8 100644
--- a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts
@@ -29,7 +29,6 @@ export class DeleteBusinessReportScheduleCommand extends $Command<
DeleteBusinessReportScheduleCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class DeleteBusinessReportScheduleCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts
index 03f5c4f84d78..080b50622100 100644
--- a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts
@@ -28,7 +28,6 @@ export class DeleteConferenceProviderCommand extends $Command<
DeleteConferenceProviderCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteConferenceProviderCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts
index 8a8b26ca2db0..8ed7d6de95d3 100644
--- a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts
@@ -28,7 +28,6 @@ export class DeleteContactCommand extends $Command<
DeleteContactCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteContactCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts
index d31ecd3a2249..60f5b1359953 100644
--- a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts
@@ -28,7 +28,6 @@ export class DeleteDeviceCommand extends $Command<
DeleteDeviceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteDeviceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts
index 7a6f97942ae6..b33b65d09414 100644
--- a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts
@@ -30,7 +30,6 @@ export class DeleteDeviceUsageDataCommand extends $Command<
DeleteDeviceUsageDataCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class DeleteDeviceUsageDataCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts
index 64fcaed2005a..3f8983aeda5f 100644
--- a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts
@@ -28,7 +28,6 @@ export class DeleteGatewayGroupCommand extends $Command<
DeleteGatewayGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteGatewayGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts
index 9216e320811a..48830d6fa93d 100644
--- a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts
@@ -28,7 +28,6 @@ export class DeleteNetworkProfileCommand extends $Command<
DeleteNetworkProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteNetworkProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts
index 37e1fde0a476..ccc2287eef0d 100644
--- a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts
@@ -28,7 +28,6 @@ export class DeleteProfileCommand extends $Command<
DeleteProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts
index ec89681c3fca..d7d294e64b94 100644
--- a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts
@@ -28,7 +28,6 @@ export class DeleteRoomCommand extends $Command<
DeleteRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts
index 79f6fe45da17..58cf05115ebf 100644
--- a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts
@@ -28,7 +28,6 @@ export class DeleteRoomSkillParameterCommand extends $Command<
DeleteRoomSkillParameterCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteRoomSkillParameterCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts
index ea9e9de83cd3..78c7cbeb3b20 100644
--- a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts
@@ -28,7 +28,6 @@ export class DeleteSkillAuthorizationCommand extends $Command<
DeleteSkillAuthorizationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteSkillAuthorizationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts
index c2e15e5ce8a8..1fda377c7d97 100644
--- a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class DeleteSkillGroupCommand extends $Command<
DeleteSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts
index f4f86a5e2bcb..f8cc8235ba88 100644
--- a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts
+++ b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts
@@ -28,7 +28,6 @@ export class DeleteUserCommand extends $Command<
DeleteUserCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteUserCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts
index 2c10da5b3df9..ea52d1469a7c 100644
--- a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts
@@ -32,7 +32,6 @@ export class DisassociateContactFromAddressBookCommand extends $Command<
DisassociateContactFromAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -50,10 +49,7 @@ export class DisassociateContactFromAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts
index ded7cbb2a7c5..be4f8bedf4b7 100644
--- a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts
@@ -30,7 +30,6 @@ export class DisassociateDeviceFromRoomCommand extends $Command<
DisassociateDeviceFromRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class DisassociateDeviceFromRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts
index ef91198fbecf..f04467b5676e 100644
--- a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command<
DisassociateSkillFromSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts
index d19f2c726b5b..cd5c4904f4c2 100644
--- a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts
+++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts
@@ -29,7 +29,6 @@ export class DisassociateSkillFromUsersCommand extends $Command<
DisassociateSkillFromUsersCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class DisassociateSkillFromUsersCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts
index 06f4160ecd45..2a2d1d328a5b 100644
--- a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts
@@ -29,7 +29,6 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command<
DisassociateSkillGroupFromRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts
index 09aac3ed5868..f52344eaa70c 100644
--- a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts
+++ b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts
@@ -28,7 +28,6 @@ export class ForgetSmartHomeAppliancesCommand extends $Command<
ForgetSmartHomeAppliancesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ForgetSmartHomeAppliancesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts
index efba86e5870d..a42eb3810e6a 100644
--- a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts
@@ -28,7 +28,6 @@ export class GetAddressBookCommand extends $Command<
GetAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts
index 2d5cb692d58f..b9f0b6a40593 100644
--- a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts
@@ -28,7 +28,6 @@ export class GetConferencePreferenceCommand extends $Command<
GetConferencePreferenceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetConferencePreferenceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts
index ff2d40dbd66f..19fb90211c7a 100644
--- a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts
@@ -28,7 +28,6 @@ export class GetConferenceProviderCommand extends $Command<
GetConferenceProviderCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetConferenceProviderCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetContactCommand.ts b/clients/client-alexa-for-business/commands/GetContactCommand.ts
index ee612277a635..08144c4e34c5 100644
--- a/clients/client-alexa-for-business/commands/GetContactCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetContactCommand.ts
@@ -28,7 +28,6 @@ export class GetContactCommand extends $Command<
GetContactCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetContactCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts
index 8241ab85e81e..9dcd65b2363e 100644
--- a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts
@@ -25,7 +25,6 @@ export class GetDeviceCommand extends $Command<
GetDeviceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetDeviceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts
index 9eba600e41d1..0fd3fa0616c3 100644
--- a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts
@@ -28,7 +28,6 @@ export class GetGatewayCommand extends $Command<
GetGatewayCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetGatewayCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts
index 1cbbea57ca08..24972b55c9e5 100644
--- a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts
@@ -28,7 +28,6 @@ export class GetGatewayGroupCommand extends $Command<
GetGatewayGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetGatewayGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts
index 2db7e294333d..54166ad406e3 100644
--- a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts
@@ -29,7 +29,6 @@ export class GetInvitationConfigurationCommand extends $Command<
GetInvitationConfigurationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class GetInvitationConfigurationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts
index dbed69814c17..5d407427f8a1 100644
--- a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts
@@ -28,7 +28,6 @@ export class GetNetworkProfileCommand extends $Command<
GetNetworkProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetNetworkProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetProfileCommand.ts b/clients/client-alexa-for-business/commands/GetProfileCommand.ts
index 7621ace9b7cb..42620a3b77fd 100644
--- a/clients/client-alexa-for-business/commands/GetProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetProfileCommand.ts
@@ -28,7 +28,6 @@ export class GetProfileCommand extends $Command<
GetProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetRoomCommand.ts b/clients/client-alexa-for-business/commands/GetRoomCommand.ts
index bc39fa0728fb..8c2477c8cd94 100644
--- a/clients/client-alexa-for-business/commands/GetRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetRoomCommand.ts
@@ -25,7 +25,6 @@ export class GetRoomCommand extends $Command<
GetRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts
index 23dc16b55078..f6a7773db984 100644
--- a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts
@@ -28,7 +28,6 @@ export class GetRoomSkillParameterCommand extends $Command<
GetRoomSkillParameterCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetRoomSkillParameterCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts
index d6c5f42adef0..3011a2dcdf6b 100644
--- a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class GetSkillGroupCommand extends $Command<
GetSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts
index 4bf10bbd5047..8d7920bb4229 100644
--- a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts
@@ -28,7 +28,6 @@ export class ListBusinessReportSchedulesCommand extends $Command<
ListBusinessReportSchedulesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListBusinessReportSchedulesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts
index f9ded17f121d..cd3d61e823ee 100644
--- a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts
@@ -28,7 +28,6 @@ export class ListConferenceProvidersCommand extends $Command<
ListConferenceProvidersCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListConferenceProvidersCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts
index 55eb62fbbae7..ab8096d2f37d 100644
--- a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts
@@ -29,7 +29,6 @@ export class ListDeviceEventsCommand extends $Command<
ListDeviceEventsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class ListDeviceEventsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts
index e7e2e453a833..f8091f8370b4 100644
--- a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts
@@ -29,7 +29,6 @@ export class ListGatewayGroupsCommand extends $Command<
ListGatewayGroupsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class ListGatewayGroupsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts
index bccba820f223..bab117aa9dea 100644
--- a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts
@@ -30,7 +30,6 @@ export class ListGatewaysCommand extends $Command<
ListGatewaysCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class ListGatewaysCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts
index add1baeb785f..60b123a2fc2f 100644
--- a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts
@@ -28,7 +28,6 @@ export class ListSkillsCommand extends $Command<
ListSkillsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListSkillsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts
index f3069e621bda..fa6d729cec37 100644
--- a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts
@@ -28,7 +28,6 @@ export class ListSkillsStoreCategoriesCommand extends $Command<
ListSkillsStoreCategoriesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListSkillsStoreCategoriesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts
index b32a90d29670..f45508871f9e 100644
--- a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts
@@ -28,7 +28,6 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command<
ListSkillsStoreSkillsByCategoryCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts
index a28dc3235c46..a19d0bab26b2 100644
--- a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts
@@ -28,7 +28,6 @@ export class ListSmartHomeAppliancesCommand extends $Command<
ListSmartHomeAppliancesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListSmartHomeAppliancesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ListTagsCommand.ts b/clients/client-alexa-for-business/commands/ListTagsCommand.ts
index d364e60bcd92..cec7102aad30 100644
--- a/clients/client-alexa-for-business/commands/ListTagsCommand.ts
+++ b/clients/client-alexa-for-business/commands/ListTagsCommand.ts
@@ -25,7 +25,6 @@ export class ListTagsCommand extends $Command<
ListTagsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class ListTagsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts
index d0e358872d05..a9171f23e67c 100644
--- a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts
+++ b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts
@@ -29,7 +29,6 @@ export class PutConferencePreferenceCommand extends $Command<
PutConferencePreferenceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class PutConferencePreferenceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts
index 5fa5015e6bbc..4a36d0f19fbd 100644
--- a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts
+++ b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts
@@ -29,7 +29,6 @@ export class PutInvitationConfigurationCommand extends $Command<
PutInvitationConfigurationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class PutInvitationConfigurationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts
index db5627a5667d..22ebf9166573 100644
--- a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts
+++ b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts
@@ -29,7 +29,6 @@ export class PutRoomSkillParameterCommand extends $Command<
PutRoomSkillParameterCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class PutRoomSkillParameterCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts
index e5ab9acbfa3e..a63463af0fc4 100644
--- a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts
+++ b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts
@@ -30,7 +30,6 @@ export class PutSkillAuthorizationCommand extends $Command<
PutSkillAuthorizationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class PutSkillAuthorizationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts
index d61962dd496d..a6152f9cbbfb 100644
--- a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts
+++ b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts
@@ -29,7 +29,6 @@ export class RegisterAVSDeviceCommand extends $Command<
RegisterAVSDeviceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class RegisterAVSDeviceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts
index 771535b9939c..07f35e5a7319 100644
--- a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts
+++ b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts
@@ -30,7 +30,6 @@ export class RejectSkillCommand extends $Command<
RejectSkillCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -48,10 +47,7 @@ export class RejectSkillCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts
index 6d2b216f8e07..927f7463fd6c 100644
--- a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts
@@ -29,7 +29,6 @@ export class ResolveRoomCommand extends $Command<
ResolveRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class ResolveRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts
index f62771830029..2b7a9070be3d 100644
--- a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts
+++ b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts
@@ -28,7 +28,6 @@ export class RevokeInvitationCommand extends $Command<
RevokeInvitationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class RevokeInvitationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts
index 4acee8955453..9baafac259c9 100644
--- a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts
@@ -29,7 +29,6 @@ export class SearchAddressBooksCommand extends $Command<
SearchAddressBooksCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchAddressBooksCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts
index c705a48f987d..c42b1d47faf2 100644
--- a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts
@@ -29,7 +29,6 @@ export class SearchContactsCommand extends $Command<
SearchContactsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchContactsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts
index ea60db3879ea..b62649b25a23 100644
--- a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts
@@ -28,7 +28,6 @@ export class SearchDevicesCommand extends $Command<
SearchDevicesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class SearchDevicesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts
index 911399d97a87..ac9c75032ff0 100644
--- a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts
@@ -29,7 +29,6 @@ export class SearchNetworkProfilesCommand extends $Command<
SearchNetworkProfilesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchNetworkProfilesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts
index 3de7ed333a0f..ba80945f6ae4 100644
--- a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts
@@ -29,7 +29,6 @@ export class SearchProfilesCommand extends $Command<
SearchProfilesCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchProfilesCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts
index 2141c90e9849..b742ef02d0f9 100644
--- a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts
@@ -29,7 +29,6 @@ export class SearchRoomsCommand extends $Command<
SearchRoomsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchRoomsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts
index a65b3ccb8e74..3ce261dcdadb 100644
--- a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts
@@ -29,7 +29,6 @@ export class SearchSkillGroupsCommand extends $Command<
SearchSkillGroupsCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchSkillGroupsCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts
index 0862650b3d2d..bd9af2cf26c5 100644
--- a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts
+++ b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts
@@ -29,7 +29,6 @@ export class SearchUsersCommand extends $Command<
SearchUsersCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SearchUsersCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts
index 3f14f13bd4ba..f44f80fd6425 100644
--- a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts
+++ b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts
@@ -29,7 +29,6 @@ export class SendAnnouncementCommand extends $Command<
SendAnnouncementCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SendAnnouncementCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts
index 9c89962ae12f..a35611fa8922 100644
--- a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts
+++ b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts
@@ -29,7 +29,6 @@ export class SendInvitationCommand extends $Command<
SendInvitationCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class SendInvitationCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts
index 04ad5294dfa5..fe2040245744 100644
--- a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts
+++ b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts
@@ -49,7 +49,6 @@ export class StartDeviceSyncCommand extends $Command<
StartDeviceSyncCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -67,10 +66,7 @@ export class StartDeviceSyncCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts
index e9d8911fcd35..3383faf38d7c 100644
--- a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts
+++ b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts
@@ -29,7 +29,6 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command<
StartSmartHomeApplianceDiscoveryCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/TagResourceCommand.ts b/clients/client-alexa-for-business/commands/TagResourceCommand.ts
index 6c33c6f86353..74678ca854f1 100644
--- a/clients/client-alexa-for-business/commands/TagResourceCommand.ts
+++ b/clients/client-alexa-for-business/commands/TagResourceCommand.ts
@@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command<
TagResourceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts
index 031c8f36ba0b..fc2ba6916cb1 100644
--- a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts
+++ b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts
@@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command<
UntagResourceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts
index 7e458ced5078..06ad624a7ffa 100644
--- a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts
@@ -28,7 +28,6 @@ export class UpdateAddressBookCommand extends $Command<
UpdateAddressBookCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateAddressBookCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts
index adbb10b80683..8cf77e182600 100644
--- a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts
@@ -29,7 +29,6 @@ export class UpdateBusinessReportScheduleCommand extends $Command<
UpdateBusinessReportScheduleCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class UpdateBusinessReportScheduleCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts
index e237883c93a6..683d1a1e927d 100644
--- a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts
@@ -28,7 +28,6 @@ export class UpdateConferenceProviderCommand extends $Command<
UpdateConferenceProviderCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateConferenceProviderCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts
index 7528032c4197..29566ab28d6c 100644
--- a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts
@@ -28,7 +28,6 @@ export class UpdateContactCommand extends $Command<
UpdateContactCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateContactCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts
index ee280dc7b6c8..9a34cda6c9f6 100644
--- a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts
@@ -28,7 +28,6 @@ export class UpdateDeviceCommand extends $Command<
UpdateDeviceCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateDeviceCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts
index 8b14acea4390..8f7148c3ea83 100644
--- a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts
@@ -29,7 +29,6 @@ export class UpdateGatewayCommand extends $Command<
UpdateGatewayCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class UpdateGatewayCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts
index 2cc0aae41621..7248355a21eb 100644
--- a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts
@@ -29,7 +29,6 @@ export class UpdateGatewayGroupCommand extends $Command<
UpdateGatewayGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class UpdateGatewayGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts
index 8a0e855b4f63..c53c8b67fd4b 100644
--- a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts
@@ -28,7 +28,6 @@ export class UpdateNetworkProfileCommand extends $Command<
UpdateNetworkProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateNetworkProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts
index 0e812dad3970..72eea3152a9c 100644
--- a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts
@@ -28,7 +28,6 @@ export class UpdateProfileCommand extends $Command<
UpdateProfileCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateProfileCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts
index 05c6e8ba1ca1..2f038d9e60f3 100644
--- a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts
@@ -28,7 +28,6 @@ export class UpdateRoomCommand extends $Command<
UpdateRoomCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateRoomCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts
index ac757b52e2ff..bdb34abbbb73 100644
--- a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts
+++ b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts
@@ -28,7 +28,6 @@ export class UpdateSkillGroupCommand extends $Command<
UpdateSkillGroupCommandOutput,
AlexaForBusinessClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateSkillGroupCommand extends $Command<
configuration: AlexaForBusinessClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateAppCommand.ts b/clients/client-amplify/commands/CreateAppCommand.ts
index 29fea9bc4b46..b0f5d91f4259 100644
--- a/clients/client-amplify/commands/CreateAppCommand.ts
+++ b/clients/client-amplify/commands/CreateAppCommand.ts
@@ -28,7 +28,6 @@ export class CreateAppCommand extends $Command<
CreateAppCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateAppCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts
index 7d55355c1336..ad7664be49fa 100644
--- a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts
+++ b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts
@@ -28,7 +28,6 @@ export class CreateBackendEnvironmentCommand extends $Command<
CreateBackendEnvironmentCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBackendEnvironmentCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateBranchCommand.ts b/clients/client-amplify/commands/CreateBranchCommand.ts
index 9637a2eb8074..9678e559560f 100644
--- a/clients/client-amplify/commands/CreateBranchCommand.ts
+++ b/clients/client-amplify/commands/CreateBranchCommand.ts
@@ -28,7 +28,6 @@ export class CreateBranchCommand extends $Command<
CreateBranchCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBranchCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateDeploymentCommand.ts b/clients/client-amplify/commands/CreateDeploymentCommand.ts
index 733dd2106115..b9c2746399a0 100644
--- a/clients/client-amplify/commands/CreateDeploymentCommand.ts
+++ b/clients/client-amplify/commands/CreateDeploymentCommand.ts
@@ -29,7 +29,6 @@ export class CreateDeploymentCommand extends $Command<
CreateDeploymentCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateDeploymentCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts
index 2d59aea38a9c..b8b38c3dff38 100644
--- a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts
+++ b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts
@@ -29,7 +29,6 @@ export class CreateDomainAssociationCommand extends $Command<
CreateDomainAssociationCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateDomainAssociationCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/CreateWebhookCommand.ts b/clients/client-amplify/commands/CreateWebhookCommand.ts
index 3fbde8099b71..a8221e89d324 100644
--- a/clients/client-amplify/commands/CreateWebhookCommand.ts
+++ b/clients/client-amplify/commands/CreateWebhookCommand.ts
@@ -28,7 +28,6 @@ export class CreateWebhookCommand extends $Command<
CreateWebhookCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateWebhookCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteAppCommand.ts b/clients/client-amplify/commands/DeleteAppCommand.ts
index 1c3e39c5223c..e5bd488e5c0b 100644
--- a/clients/client-amplify/commands/DeleteAppCommand.ts
+++ b/clients/client-amplify/commands/DeleteAppCommand.ts
@@ -28,7 +28,6 @@ export class DeleteAppCommand extends $Command<
DeleteAppCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteAppCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts
index 53649a94346d..f1e73ee4c6f6 100644
--- a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts
+++ b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts
@@ -28,7 +28,6 @@ export class DeleteBackendEnvironmentCommand extends $Command<
DeleteBackendEnvironmentCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBackendEnvironmentCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteBranchCommand.ts b/clients/client-amplify/commands/DeleteBranchCommand.ts
index 2c2f26c1b201..d47dea76688f 100644
--- a/clients/client-amplify/commands/DeleteBranchCommand.ts
+++ b/clients/client-amplify/commands/DeleteBranchCommand.ts
@@ -28,7 +28,6 @@ export class DeleteBranchCommand extends $Command<
DeleteBranchCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBranchCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts
index 07c60ca580ab..c8866a42a015 100644
--- a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts
+++ b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts
@@ -28,7 +28,6 @@ export class DeleteDomainAssociationCommand extends $Command<
DeleteDomainAssociationCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteDomainAssociationCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteJobCommand.ts b/clients/client-amplify/commands/DeleteJobCommand.ts
index 1d5449ce7d23..31f9db60ef1e 100644
--- a/clients/client-amplify/commands/DeleteJobCommand.ts
+++ b/clients/client-amplify/commands/DeleteJobCommand.ts
@@ -28,7 +28,6 @@ export class DeleteJobCommand extends $Command<
DeleteJobCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteJobCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/DeleteWebhookCommand.ts b/clients/client-amplify/commands/DeleteWebhookCommand.ts
index 3848331aae71..a8580f4f965c 100644
--- a/clients/client-amplify/commands/DeleteWebhookCommand.ts
+++ b/clients/client-amplify/commands/DeleteWebhookCommand.ts
@@ -28,7 +28,6 @@ export class DeleteWebhookCommand extends $Command<
DeleteWebhookCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteWebhookCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts
index cd8b73ae0f8a..fb9e993a7f5c 100644
--- a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts
+++ b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts
@@ -29,7 +29,6 @@ export class GenerateAccessLogsCommand extends $Command<
GenerateAccessLogsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class GenerateAccessLogsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetAppCommand.ts b/clients/client-amplify/commands/GetAppCommand.ts
index 8981eb07fcec..8b9b84ec923f 100644
--- a/clients/client-amplify/commands/GetAppCommand.ts
+++ b/clients/client-amplify/commands/GetAppCommand.ts
@@ -21,7 +21,6 @@ export type GetAppCommandOutput = GetAppResult & __MetadataBearer;
* Returns an existing Amplify app by appID.
*/
export class GetAppCommand extends $Command {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -39,10 +38,7 @@ export class GetAppCommand extends $Command {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetArtifactUrlCommand.ts b/clients/client-amplify/commands/GetArtifactUrlCommand.ts
index 8772b101603f..6f5a7146fa67 100644
--- a/clients/client-amplify/commands/GetArtifactUrlCommand.ts
+++ b/clients/client-amplify/commands/GetArtifactUrlCommand.ts
@@ -28,7 +28,6 @@ export class GetArtifactUrlCommand extends $Command<
GetArtifactUrlCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetArtifactUrlCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts
index 5fe57ae954e1..0cf9d254be7c 100644
--- a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts
+++ b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts
@@ -28,7 +28,6 @@ export class GetBackendEnvironmentCommand extends $Command<
GetBackendEnvironmentCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendEnvironmentCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetBranchCommand.ts b/clients/client-amplify/commands/GetBranchCommand.ts
index 4139bfa737fa..e5ebbe746f57 100644
--- a/clients/client-amplify/commands/GetBranchCommand.ts
+++ b/clients/client-amplify/commands/GetBranchCommand.ts
@@ -28,7 +28,6 @@ export class GetBranchCommand extends $Command<
GetBranchCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBranchCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetDomainAssociationCommand.ts b/clients/client-amplify/commands/GetDomainAssociationCommand.ts
index 174bd4f0c772..092cc79753be 100644
--- a/clients/client-amplify/commands/GetDomainAssociationCommand.ts
+++ b/clients/client-amplify/commands/GetDomainAssociationCommand.ts
@@ -28,7 +28,6 @@ export class GetDomainAssociationCommand extends $Command<
GetDomainAssociationCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetDomainAssociationCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetJobCommand.ts b/clients/client-amplify/commands/GetJobCommand.ts
index e63ad13ff0da..1bc2363b7f81 100644
--- a/clients/client-amplify/commands/GetJobCommand.ts
+++ b/clients/client-amplify/commands/GetJobCommand.ts
@@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResult & __MetadataBearer;
* Returns a job for a branch of an Amplify app.
*/
export class GetJobCommand extends $Command {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -39,10 +38,7 @@ export class GetJobCommand extends $Command {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/GetWebhookCommand.ts b/clients/client-amplify/commands/GetWebhookCommand.ts
index 034d26defd3a..e32f47ed559a 100644
--- a/clients/client-amplify/commands/GetWebhookCommand.ts
+++ b/clients/client-amplify/commands/GetWebhookCommand.ts
@@ -28,7 +28,6 @@ export class GetWebhookCommand extends $Command<
GetWebhookCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetWebhookCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListAppsCommand.ts b/clients/client-amplify/commands/ListAppsCommand.ts
index 5cc2a50e05d4..aea9bb69ac25 100644
--- a/clients/client-amplify/commands/ListAppsCommand.ts
+++ b/clients/client-amplify/commands/ListAppsCommand.ts
@@ -28,7 +28,6 @@ export class ListAppsCommand extends $Command<
ListAppsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListAppsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListArtifactsCommand.ts b/clients/client-amplify/commands/ListArtifactsCommand.ts
index c29932784059..4d2bfdbbadcf 100644
--- a/clients/client-amplify/commands/ListArtifactsCommand.ts
+++ b/clients/client-amplify/commands/ListArtifactsCommand.ts
@@ -28,7 +28,6 @@ export class ListArtifactsCommand extends $Command<
ListArtifactsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListArtifactsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts
index 255c373190f7..fa47e6c22574 100644
--- a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts
+++ b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts
@@ -28,7 +28,6 @@ export class ListBackendEnvironmentsCommand extends $Command<
ListBackendEnvironmentsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListBackendEnvironmentsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListBranchesCommand.ts b/clients/client-amplify/commands/ListBranchesCommand.ts
index e3e2b9e840d4..a977377a7bfe 100644
--- a/clients/client-amplify/commands/ListBranchesCommand.ts
+++ b/clients/client-amplify/commands/ListBranchesCommand.ts
@@ -28,7 +28,6 @@ export class ListBranchesCommand extends $Command<
ListBranchesCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListBranchesCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts
index 6e869652b5cf..b24dc8762429 100644
--- a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts
+++ b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts
@@ -28,7 +28,6 @@ export class ListDomainAssociationsCommand extends $Command<
ListDomainAssociationsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListDomainAssociationsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListJobsCommand.ts b/clients/client-amplify/commands/ListJobsCommand.ts
index eaccd101d40d..ef1e0ade37b0 100644
--- a/clients/client-amplify/commands/ListJobsCommand.ts
+++ b/clients/client-amplify/commands/ListJobsCommand.ts
@@ -28,7 +28,6 @@ export class ListJobsCommand extends $Command<
ListJobsCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListJobsCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListTagsForResourceCommand.ts b/clients/client-amplify/commands/ListTagsForResourceCommand.ts
index 1ec5764603df..b2aad33b8ff8 100644
--- a/clients/client-amplify/commands/ListTagsForResourceCommand.ts
+++ b/clients/client-amplify/commands/ListTagsForResourceCommand.ts
@@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command<
ListTagsForResourceCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/ListWebhooksCommand.ts b/clients/client-amplify/commands/ListWebhooksCommand.ts
index d7c6be476528..ddf311effac9 100644
--- a/clients/client-amplify/commands/ListWebhooksCommand.ts
+++ b/clients/client-amplify/commands/ListWebhooksCommand.ts
@@ -28,7 +28,6 @@ export class ListWebhooksCommand extends $Command<
ListWebhooksCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListWebhooksCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/StartDeploymentCommand.ts b/clients/client-amplify/commands/StartDeploymentCommand.ts
index 3a486153ce1c..4036601b1a98 100644
--- a/clients/client-amplify/commands/StartDeploymentCommand.ts
+++ b/clients/client-amplify/commands/StartDeploymentCommand.ts
@@ -29,7 +29,6 @@ export class StartDeploymentCommand extends $Command<
StartDeploymentCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class StartDeploymentCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/StartJobCommand.ts b/clients/client-amplify/commands/StartJobCommand.ts
index d663336de3f7..e9eadb510e36 100644
--- a/clients/client-amplify/commands/StartJobCommand.ts
+++ b/clients/client-amplify/commands/StartJobCommand.ts
@@ -28,7 +28,6 @@ export class StartJobCommand extends $Command<
StartJobCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class StartJobCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/StopJobCommand.ts b/clients/client-amplify/commands/StopJobCommand.ts
index 75b7516a74e2..4f0d69223fcf 100644
--- a/clients/client-amplify/commands/StopJobCommand.ts
+++ b/clients/client-amplify/commands/StopJobCommand.ts
@@ -24,7 +24,6 @@ export type StopJobCommandOutput = StopJobResult & __MetadataBearer;
* Stops a job that is in progress for a branch of an Amplify app.
*/
export class StopJobCommand extends $Command {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -42,10 +41,7 @@ export class StopJobCommand extends $Command {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/TagResourceCommand.ts b/clients/client-amplify/commands/TagResourceCommand.ts
index c74e3d518e84..743b2dae29af 100644
--- a/clients/client-amplify/commands/TagResourceCommand.ts
+++ b/clients/client-amplify/commands/TagResourceCommand.ts
@@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command<
TagResourceCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/UntagResourceCommand.ts b/clients/client-amplify/commands/UntagResourceCommand.ts
index f3445e46a30a..8b97393ba790 100644
--- a/clients/client-amplify/commands/UntagResourceCommand.ts
+++ b/clients/client-amplify/commands/UntagResourceCommand.ts
@@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command<
UntagResourceCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/UpdateAppCommand.ts b/clients/client-amplify/commands/UpdateAppCommand.ts
index 59ebea5e7c8d..cf97b5105766 100644
--- a/clients/client-amplify/commands/UpdateAppCommand.ts
+++ b/clients/client-amplify/commands/UpdateAppCommand.ts
@@ -28,7 +28,6 @@ export class UpdateAppCommand extends $Command<
UpdateAppCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateAppCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/UpdateBranchCommand.ts b/clients/client-amplify/commands/UpdateBranchCommand.ts
index 783b1bdcf0cd..a56cae54093d 100644
--- a/clients/client-amplify/commands/UpdateBranchCommand.ts
+++ b/clients/client-amplify/commands/UpdateBranchCommand.ts
@@ -28,7 +28,6 @@ export class UpdateBranchCommand extends $Command<
UpdateBranchCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateBranchCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts
index dc042a10556e..8788fd8528c4 100644
--- a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts
+++ b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts
@@ -28,7 +28,6 @@ export class UpdateDomainAssociationCommand extends $Command<
UpdateDomainAssociationCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateDomainAssociationCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplify/commands/UpdateWebhookCommand.ts b/clients/client-amplify/commands/UpdateWebhookCommand.ts
index f7c5c7191821..01b4d490ad21 100644
--- a/clients/client-amplify/commands/UpdateWebhookCommand.ts
+++ b/clients/client-amplify/commands/UpdateWebhookCommand.ts
@@ -28,7 +28,6 @@ export class UpdateWebhookCommand extends $Command<
UpdateWebhookCommandOutput,
AmplifyClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateWebhookCommand extends $Command<
configuration: AmplifyClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CloneBackendCommand.ts b/clients/client-amplifybackend/commands/CloneBackendCommand.ts
index 9508ba8f2da8..e72dda96e1c8 100644
--- a/clients/client-amplifybackend/commands/CloneBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/CloneBackendCommand.ts
@@ -28,7 +28,6 @@ export class CloneBackendCommand extends $Command<
CloneBackendCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CloneBackendCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts b/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts
index c0e839725753..fa4f5576fd1e 100644
--- a/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts
+++ b/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts
@@ -28,7 +28,6 @@ export class CreateBackendAPICommand extends $Command<
CreateBackendAPICommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBackendAPICommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts b/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts
index ee66b1f262a8..fe64123da4cd 100644
--- a/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts
+++ b/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts
@@ -28,7 +28,6 @@ export class CreateBackendAuthCommand extends $Command<
CreateBackendAuthCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBackendAuthCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CreateBackendCommand.ts b/clients/client-amplifybackend/commands/CreateBackendCommand.ts
index 7c4ee7b5efc7..cf3b3aef4702 100644
--- a/clients/client-amplifybackend/commands/CreateBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/CreateBackendCommand.ts
@@ -28,7 +28,6 @@ export class CreateBackendCommand extends $Command<
CreateBackendCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBackendCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts b/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts
index 413fe1da22bf..485eda85ae6f 100644
--- a/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts
+++ b/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts
@@ -28,7 +28,6 @@ export class CreateBackendConfigCommand extends $Command<
CreateBackendConfigCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBackendConfigCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/CreateTokenCommand.ts b/clients/client-amplifybackend/commands/CreateTokenCommand.ts
index cab388b37683..a7df506a701d 100644
--- a/clients/client-amplifybackend/commands/CreateTokenCommand.ts
+++ b/clients/client-amplifybackend/commands/CreateTokenCommand.ts
@@ -28,7 +28,6 @@ export class CreateTokenCommand extends $Command<
CreateTokenCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateTokenCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts b/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts
index 192b0b2001cd..834aeeedb123 100644
--- a/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts
+++ b/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts
@@ -28,7 +28,6 @@ export class DeleteBackendAPICommand extends $Command<
DeleteBackendAPICommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBackendAPICommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts b/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts
index d787c13fb45d..d3dc8c56d9fa 100644
--- a/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts
+++ b/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts
@@ -28,7 +28,6 @@ export class DeleteBackendAuthCommand extends $Command<
DeleteBackendAuthCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBackendAuthCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
index c48e8d0eacf4..c56726b59a80 100644
--- a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
@@ -28,7 +28,6 @@ export class DeleteBackendCommand extends $Command<
DeleteBackendCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBackendCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/DeleteTokenCommand.ts b/clients/client-amplifybackend/commands/DeleteTokenCommand.ts
index 16c9b5326105..50381ff5f9ed 100644
--- a/clients/client-amplifybackend/commands/DeleteTokenCommand.ts
+++ b/clients/client-amplifybackend/commands/DeleteTokenCommand.ts
@@ -28,7 +28,6 @@ export class DeleteTokenCommand extends $Command<
DeleteTokenCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteTokenCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts b/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts
index f87d4bbbdf05..38b40362d622 100644
--- a/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts
+++ b/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts
@@ -28,7 +28,6 @@ export class GenerateBackendAPIModelsCommand extends $Command<
GenerateBackendAPIModelsCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GenerateBackendAPIModelsCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
index 83992454ab47..e7343e067158 100644
--- a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
@@ -28,7 +28,6 @@ export class GetBackendAPICommand extends $Command<
GetBackendAPICommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendAPICommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts b/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts
index 25c9a5dd59e1..4c82de84ff46 100644
--- a/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts
@@ -28,7 +28,6 @@ export class GetBackendAPIModelsCommand extends $Command<
GetBackendAPIModelsCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendAPIModelsCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
index 11d15e905d1c..5a4d1a476315 100644
--- a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
@@ -28,7 +28,6 @@ export class GetBackendAuthCommand extends $Command<
GetBackendAuthCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendAuthCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetBackendCommand.ts b/clients/client-amplifybackend/commands/GetBackendCommand.ts
index 71c3ad87f3d1..790c49d4ded4 100644
--- a/clients/client-amplifybackend/commands/GetBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendCommand.ts
@@ -28,7 +28,6 @@ export class GetBackendCommand extends $Command<
GetBackendCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetBackendJobCommand.ts b/clients/client-amplifybackend/commands/GetBackendJobCommand.ts
index d4568d24fb2c..a19b1ff38915 100644
--- a/clients/client-amplifybackend/commands/GetBackendJobCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendJobCommand.ts
@@ -28,7 +28,6 @@ export class GetBackendJobCommand extends $Command<
GetBackendJobCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBackendJobCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/GetTokenCommand.ts b/clients/client-amplifybackend/commands/GetTokenCommand.ts
index 177de6002795..f4d5d4508d47 100644
--- a/clients/client-amplifybackend/commands/GetTokenCommand.ts
+++ b/clients/client-amplifybackend/commands/GetTokenCommand.ts
@@ -28,7 +28,6 @@ export class GetTokenCommand extends $Command<
GetTokenCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetTokenCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts b/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts
index 42590104fbff..6b5b5545ed74 100644
--- a/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts
+++ b/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts
@@ -28,7 +28,6 @@ export class ListBackendJobsCommand extends $Command<
ListBackendJobsCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class ListBackendJobsCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts b/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts
index 06069dc19447..88da4106bf72 100644
--- a/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts
+++ b/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts
@@ -28,7 +28,6 @@ export class RemoveAllBackendsCommand extends $Command<
RemoveAllBackendsCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class RemoveAllBackendsCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
index 2a8c2e3f54f6..ee3be6e760f1 100644
--- a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
+++ b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
@@ -28,7 +28,6 @@ export class RemoveBackendConfigCommand extends $Command<
RemoveBackendConfigCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class RemoveBackendConfigCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts b/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts
index fc5ef2e6ff38..7373cb4b5ae0 100644
--- a/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts
+++ b/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts
@@ -28,7 +28,6 @@ export class UpdateBackendAPICommand extends $Command<
UpdateBackendAPICommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateBackendAPICommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts
index c33d75106e84..72dda5ca50cf 100644
--- a/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts
+++ b/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts
@@ -28,7 +28,6 @@ export class UpdateBackendAuthCommand extends $Command<
UpdateBackendAuthCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateBackendAuthCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
index b532ca273f6e..617e9f8db6d2 100644
--- a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
+++ b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
@@ -28,7 +28,6 @@ export class UpdateBackendConfigCommand extends $Command<
UpdateBackendConfigCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateBackendConfigCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts
index 6ce59fc01dce..9f6b0662da7f 100644
--- a/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts
+++ b/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts
@@ -28,7 +28,6 @@ export class UpdateBackendJobCommand extends $Command<
UpdateBackendJobCommandOutput,
AmplifyBackendClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class UpdateBackendJobCommand extends $Command<
configuration: AmplifyBackendClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts
index 71800662e953..19ae4f0e2e44 100644
--- a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts
+++ b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts
@@ -29,7 +29,6 @@ export class CreateApiKeyCommand extends $Command<
CreateApiKeyCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateApiKeyCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts
index 39f2451e581a..4c6d477c9e15 100644
--- a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts
+++ b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts
@@ -29,7 +29,6 @@ export class CreateAuthorizerCommand extends $Command<
CreateAuthorizerCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateAuthorizerCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts
index eb34f31e9994..b7a3d403deba 100644
--- a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts
+++ b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts
@@ -28,7 +28,6 @@ export class CreateBasePathMappingCommand extends $Command<
CreateBasePathMappingCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateBasePathMappingCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts
index a1289f79e21d..3e8621103cfe 100644
--- a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts
+++ b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts
@@ -28,7 +28,6 @@ export class CreateDeploymentCommand extends $Command<
CreateDeploymentCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateDeploymentCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts
index 0de0b544d71c..7a8c17c9d822 100644
--- a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts
+++ b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts
@@ -25,7 +25,6 @@ export class CreateDocumentationPartCommand extends $Command<
CreateDocumentationPartCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class CreateDocumentationPartCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts
index 4d2dcdcce5cb..b1a828cc3144 100644
--- a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts
+++ b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts
@@ -25,7 +25,6 @@ export class CreateDocumentationVersionCommand extends $Command<
CreateDocumentationVersionCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class CreateDocumentationVersionCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts
index fe2f0860244f..fa5db3196082 100644
--- a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts
+++ b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts
@@ -28,7 +28,6 @@ export class CreateDomainNameCommand extends $Command<
CreateDomainNameCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateDomainNameCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateModelCommand.ts b/clients/client-api-gateway/commands/CreateModelCommand.ts
index 7df75b598a0a..d20a4f58480c 100644
--- a/clients/client-api-gateway/commands/CreateModelCommand.ts
+++ b/clients/client-api-gateway/commands/CreateModelCommand.ts
@@ -28,7 +28,6 @@ export class CreateModelCommand extends $Command<
CreateModelCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateModelCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts
index f00f40d56c47..4d9129d84124 100644
--- a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts
+++ b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts
@@ -28,7 +28,6 @@ export class CreateRequestValidatorCommand extends $Command<
CreateRequestValidatorCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateRequestValidatorCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateResourceCommand.ts b/clients/client-api-gateway/commands/CreateResourceCommand.ts
index 1a1a529a411a..ab38ab6c5998 100644
--- a/clients/client-api-gateway/commands/CreateResourceCommand.ts
+++ b/clients/client-api-gateway/commands/CreateResourceCommand.ts
@@ -28,7 +28,6 @@ export class CreateResourceCommand extends $Command<
CreateResourceCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateResourceCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateRestApiCommand.ts b/clients/client-api-gateway/commands/CreateRestApiCommand.ts
index c685c1d7a913..0a87866da4ae 100644
--- a/clients/client-api-gateway/commands/CreateRestApiCommand.ts
+++ b/clients/client-api-gateway/commands/CreateRestApiCommand.ts
@@ -28,7 +28,6 @@ export class CreateRestApiCommand extends $Command<
CreateRestApiCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateRestApiCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateStageCommand.ts b/clients/client-api-gateway/commands/CreateStageCommand.ts
index 2be0db2da443..82aa01658940 100644
--- a/clients/client-api-gateway/commands/CreateStageCommand.ts
+++ b/clients/client-api-gateway/commands/CreateStageCommand.ts
@@ -29,7 +29,6 @@ export class CreateStageCommand extends $Command<
CreateStageCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class CreateStageCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts
index be20c89ed91e..cfa417486374 100644
--- a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts
+++ b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts
@@ -28,7 +28,6 @@ export class CreateUsagePlanCommand extends $Command<
CreateUsagePlanCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateUsagePlanCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts
index 5c31fe2c423e..3533ea08a48a 100644
--- a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts
+++ b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts
@@ -28,7 +28,6 @@ export class CreateUsagePlanKeyCommand extends $Command<
CreateUsagePlanKeyCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateUsagePlanKeyCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts
index 04b0cb5aac1b..3793c307e697 100644
--- a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts
+++ b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts
@@ -28,7 +28,6 @@ export class CreateVpcLinkCommand extends $Command<
CreateVpcLinkCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class CreateVpcLinkCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts
index c3558474861c..7ea07afecd83 100644
--- a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts
@@ -28,7 +28,6 @@ export class DeleteApiKeyCommand extends $Command<
DeleteApiKeyCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteApiKeyCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts
index 1594f204280f..1f3f1098e5af 100644
--- a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts
@@ -29,7 +29,6 @@ export class DeleteAuthorizerCommand extends $Command<
DeleteAuthorizerCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class DeleteAuthorizerCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts
index 855c789746b9..ca0aa071ecb0 100644
--- a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts
@@ -28,7 +28,6 @@ export class DeleteBasePathMappingCommand extends $Command<
DeleteBasePathMappingCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteBasePathMappingCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts
index cd929f22faf3..326578005b13 100644
--- a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts
@@ -28,7 +28,6 @@ export class DeleteClientCertificateCommand extends $Command<
DeleteClientCertificateCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteClientCertificateCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts
index 1b1abf5f6370..a62f7278ba3a 100644
--- a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts
@@ -28,7 +28,6 @@ export class DeleteDeploymentCommand extends $Command<
DeleteDeploymentCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteDeploymentCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts
index 37372462274a..5167dca39ca3 100644
--- a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts
@@ -25,7 +25,6 @@ export class DeleteDocumentationPartCommand extends $Command<
DeleteDocumentationPartCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class DeleteDocumentationPartCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts
index 298db5c8d8dd..d4128b3b1d70 100644
--- a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts
@@ -25,7 +25,6 @@ export class DeleteDocumentationVersionCommand extends $Command<
DeleteDocumentationVersionCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class DeleteDocumentationVersionCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts
index e2024e1e8c3a..1bbc1cdde911 100644
--- a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts
@@ -28,7 +28,6 @@ export class DeleteDomainNameCommand extends $Command<
DeleteDomainNameCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteDomainNameCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts
index 33f56780975e..ee201f8167fb 100644
--- a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts
@@ -28,7 +28,6 @@ export class DeleteGatewayResponseCommand extends $Command<
DeleteGatewayResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteGatewayResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts
index fdc0df17f255..df0f274bbbe1 100644
--- a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts
@@ -28,7 +28,6 @@ export class DeleteIntegrationCommand extends $Command<
DeleteIntegrationCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteIntegrationCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts
index daa5a1849923..9b534d09f053 100644
--- a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts
@@ -28,7 +28,6 @@ export class DeleteIntegrationResponseCommand extends $Command<
DeleteIntegrationResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteIntegrationResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteMethodCommand.ts b/clients/client-api-gateway/commands/DeleteMethodCommand.ts
index b89757a562ca..88270c47f3d0 100644
--- a/clients/client-api-gateway/commands/DeleteMethodCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteMethodCommand.ts
@@ -28,7 +28,6 @@ export class DeleteMethodCommand extends $Command<
DeleteMethodCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteMethodCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts
index 3bbca491a002..0ecf9756db29 100644
--- a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts
@@ -28,7 +28,6 @@ export class DeleteMethodResponseCommand extends $Command<
DeleteMethodResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteMethodResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteModelCommand.ts b/clients/client-api-gateway/commands/DeleteModelCommand.ts
index 3de839c5b990..e5d7baf176d3 100644
--- a/clients/client-api-gateway/commands/DeleteModelCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteModelCommand.ts
@@ -28,7 +28,6 @@ export class DeleteModelCommand extends $Command<
DeleteModelCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteModelCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts
index 96ca359a8e69..0a886f9fa9f8 100644
--- a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts
@@ -28,7 +28,6 @@ export class DeleteRequestValidatorCommand extends $Command<
DeleteRequestValidatorCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteRequestValidatorCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteResourceCommand.ts b/clients/client-api-gateway/commands/DeleteResourceCommand.ts
index c4105d919c1e..cfcc1e0365c4 100644
--- a/clients/client-api-gateway/commands/DeleteResourceCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteResourceCommand.ts
@@ -28,7 +28,6 @@ export class DeleteResourceCommand extends $Command<
DeleteResourceCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteResourceCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts
index bef76ef640eb..6c18751d7af3 100644
--- a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts
@@ -28,7 +28,6 @@ export class DeleteRestApiCommand extends $Command<
DeleteRestApiCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteRestApiCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteStageCommand.ts b/clients/client-api-gateway/commands/DeleteStageCommand.ts
index 2c34e421154c..de9788eaaa94 100644
--- a/clients/client-api-gateway/commands/DeleteStageCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteStageCommand.ts
@@ -28,7 +28,6 @@ export class DeleteStageCommand extends $Command<
DeleteStageCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteStageCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts
index 7a9bf424771b..a2d9c2336bae 100644
--- a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts
@@ -28,7 +28,6 @@ export class DeleteUsagePlanCommand extends $Command<
DeleteUsagePlanCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteUsagePlanCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts
index 6daee3ed4209..80c7abcb3d76 100644
--- a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts
@@ -28,7 +28,6 @@ export class DeleteUsagePlanKeyCommand extends $Command<
DeleteUsagePlanKeyCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteUsagePlanKeyCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts
index 96218d201ad1..9de4b235cd23 100644
--- a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts
+++ b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts
@@ -28,7 +28,6 @@ export class DeleteVpcLinkCommand extends $Command<
DeleteVpcLinkCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class DeleteVpcLinkCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts
index 0a9e845ed04d..8553898d74f8 100644
--- a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts
+++ b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts
@@ -28,7 +28,6 @@ export class FlushStageAuthorizersCacheCommand extends $Command<
FlushStageAuthorizersCacheCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class FlushStageAuthorizersCacheCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts
index 2d155c1f367b..93206e621da4 100644
--- a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts
+++ b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts
@@ -28,7 +28,6 @@ export class FlushStageCacheCommand extends $Command<
FlushStageCacheCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class FlushStageCacheCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts
index c4fac3e1f7c8..acc5a0c0854e 100644
--- a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts
+++ b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts
@@ -28,7 +28,6 @@ export class GenerateClientCertificateCommand extends $Command<
GenerateClientCertificateCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GenerateClientCertificateCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetAccountCommand.ts b/clients/client-api-gateway/commands/GetAccountCommand.ts
index 7b7646a1c6c8..30ca8e36a66f 100644
--- a/clients/client-api-gateway/commands/GetAccountCommand.ts
+++ b/clients/client-api-gateway/commands/GetAccountCommand.ts
@@ -28,7 +28,6 @@ export class GetAccountCommand extends $Command<
GetAccountCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetAccountCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetApiKeyCommand.ts b/clients/client-api-gateway/commands/GetApiKeyCommand.ts
index 22239f1a5944..0ea49e19b276 100644
--- a/clients/client-api-gateway/commands/GetApiKeyCommand.ts
+++ b/clients/client-api-gateway/commands/GetApiKeyCommand.ts
@@ -28,7 +28,6 @@ export class GetApiKeyCommand extends $Command<
GetApiKeyCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetApiKeyCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetApiKeysCommand.ts b/clients/client-api-gateway/commands/GetApiKeysCommand.ts
index 101961255f75..05b95f7e057b 100644
--- a/clients/client-api-gateway/commands/GetApiKeysCommand.ts
+++ b/clients/client-api-gateway/commands/GetApiKeysCommand.ts
@@ -28,7 +28,6 @@ export class GetApiKeysCommand extends $Command<
GetApiKeysCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetApiKeysCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts
index 479da5aa6bbd..98a5be09b8ad 100644
--- a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts
+++ b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts
@@ -29,7 +29,6 @@ export class GetAuthorizerCommand extends $Command<
GetAuthorizerCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class GetAuthorizerCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts
index 5ee2af6eb748..b345720be0cc 100644
--- a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts
+++ b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts
@@ -29,7 +29,6 @@ export class GetAuthorizersCommand extends $Command<
GetAuthorizersCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -47,10 +46,7 @@ export class GetAuthorizersCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts
index e258ccb504d3..20204a1cb4cd 100644
--- a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts
+++ b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts
@@ -28,7 +28,6 @@ export class GetBasePathMappingCommand extends $Command<
GetBasePathMappingCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBasePathMappingCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts
index 5d0c2f20eb80..2e7fc12cee71 100644
--- a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts
+++ b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts
@@ -28,7 +28,6 @@ export class GetBasePathMappingsCommand extends $Command<
GetBasePathMappingsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetBasePathMappingsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts
index f53789ff48bb..301e98e726a7 100644
--- a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts
+++ b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts
@@ -28,7 +28,6 @@ export class GetClientCertificateCommand extends $Command<
GetClientCertificateCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetClientCertificateCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts
index f5662dd71b73..9dc389d6868a 100644
--- a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts
+++ b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts
@@ -28,7 +28,6 @@ export class GetClientCertificatesCommand extends $Command<
GetClientCertificatesCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetClientCertificatesCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDeploymentCommand.ts b/clients/client-api-gateway/commands/GetDeploymentCommand.ts
index 7f47fbcc46e6..9ed35c460790 100644
--- a/clients/client-api-gateway/commands/GetDeploymentCommand.ts
+++ b/clients/client-api-gateway/commands/GetDeploymentCommand.ts
@@ -28,7 +28,6 @@ export class GetDeploymentCommand extends $Command<
GetDeploymentCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetDeploymentCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts
index 7180e1d82809..b2f18d63113c 100644
--- a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts
+++ b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts
@@ -28,7 +28,6 @@ export class GetDeploymentsCommand extends $Command<
GetDeploymentsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetDeploymentsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts
index 2f68d30247cc..24a3e0b0f983 100644
--- a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts
+++ b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts
@@ -25,7 +25,6 @@ export class GetDocumentationPartCommand extends $Command<
GetDocumentationPartCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetDocumentationPartCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts
index 37e19e77e02e..d38f9722be96 100644
--- a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts
+++ b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts
@@ -25,7 +25,6 @@ export class GetDocumentationPartsCommand extends $Command<
GetDocumentationPartsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetDocumentationPartsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts
index c21fd7ebb8c9..5924b4feb416 100644
--- a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts
+++ b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts
@@ -25,7 +25,6 @@ export class GetDocumentationVersionCommand extends $Command<
GetDocumentationVersionCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetDocumentationVersionCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts
index ee207f95a941..151915b4ac04 100644
--- a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts
+++ b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts
@@ -25,7 +25,6 @@ export class GetDocumentationVersionsCommand extends $Command<
GetDocumentationVersionsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetDocumentationVersionsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDomainNameCommand.ts b/clients/client-api-gateway/commands/GetDomainNameCommand.ts
index 37131d7b3aa7..ffed84646ea3 100644
--- a/clients/client-api-gateway/commands/GetDomainNameCommand.ts
+++ b/clients/client-api-gateway/commands/GetDomainNameCommand.ts
@@ -28,7 +28,6 @@ export class GetDomainNameCommand extends $Command<
GetDomainNameCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetDomainNameCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts
index b48ecf81c995..35da003283e3 100644
--- a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts
+++ b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts
@@ -28,7 +28,6 @@ export class GetDomainNamesCommand extends $Command<
GetDomainNamesCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetDomainNamesCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetExportCommand.ts b/clients/client-api-gateway/commands/GetExportCommand.ts
index 966d641d131f..2e0f88cc16ac 100644
--- a/clients/client-api-gateway/commands/GetExportCommand.ts
+++ b/clients/client-api-gateway/commands/GetExportCommand.ts
@@ -28,7 +28,6 @@ export class GetExportCommand extends $Command<
GetExportCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetExportCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts
index 52249bac457a..39c4c4f34686 100644
--- a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts
+++ b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts
@@ -28,7 +28,6 @@ export class GetGatewayResponseCommand extends $Command<
GetGatewayResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetGatewayResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts
index cc1961302d8d..7f90ff4a66fa 100644
--- a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts
+++ b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts
@@ -28,7 +28,6 @@ export class GetGatewayResponsesCommand extends $Command<
GetGatewayResponsesCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetGatewayResponsesCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetIntegrationCommand.ts b/clients/client-api-gateway/commands/GetIntegrationCommand.ts
index e359cbf3e6e3..3dc35f0a001a 100644
--- a/clients/client-api-gateway/commands/GetIntegrationCommand.ts
+++ b/clients/client-api-gateway/commands/GetIntegrationCommand.ts
@@ -28,7 +28,6 @@ export class GetIntegrationCommand extends $Command<
GetIntegrationCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetIntegrationCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts
index 0f1bff466a97..3a3c45b15652 100644
--- a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts
+++ b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts
@@ -28,7 +28,6 @@ export class GetIntegrationResponseCommand extends $Command<
GetIntegrationResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetIntegrationResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetMethodCommand.ts b/clients/client-api-gateway/commands/GetMethodCommand.ts
index abe61a925f48..d0d7d4acc6db 100644
--- a/clients/client-api-gateway/commands/GetMethodCommand.ts
+++ b/clients/client-api-gateway/commands/GetMethodCommand.ts
@@ -28,7 +28,6 @@ export class GetMethodCommand extends $Command<
GetMethodCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetMethodCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts
index 57b99b6b5b81..f35a227ede50 100644
--- a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts
+++ b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts
@@ -28,7 +28,6 @@ export class GetMethodResponseCommand extends $Command<
GetMethodResponseCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetMethodResponseCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetModelCommand.ts b/clients/client-api-gateway/commands/GetModelCommand.ts
index b6393840d118..c5172236846b 100644
--- a/clients/client-api-gateway/commands/GetModelCommand.ts
+++ b/clients/client-api-gateway/commands/GetModelCommand.ts
@@ -28,7 +28,6 @@ export class GetModelCommand extends $Command<
GetModelCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetModelCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts
index 47f0cd2c795f..1faa1baf966a 100644
--- a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts
+++ b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts
@@ -28,7 +28,6 @@ export class GetModelTemplateCommand extends $Command<
GetModelTemplateCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetModelTemplateCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetModelsCommand.ts b/clients/client-api-gateway/commands/GetModelsCommand.ts
index 4fe9b0c8dddb..af1c4e5d4cad 100644
--- a/clients/client-api-gateway/commands/GetModelsCommand.ts
+++ b/clients/client-api-gateway/commands/GetModelsCommand.ts
@@ -28,7 +28,6 @@ export class GetModelsCommand extends $Command<
GetModelsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetModelsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts
index 895afcc06e74..ebd9221be7a9 100644
--- a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts
+++ b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts
@@ -28,7 +28,6 @@ export class GetRequestValidatorCommand extends $Command<
GetRequestValidatorCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetRequestValidatorCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts
index 73fa685387f3..414244af05b4 100644
--- a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts
+++ b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts
@@ -28,7 +28,6 @@ export class GetRequestValidatorsCommand extends $Command<
GetRequestValidatorsCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetRequestValidatorsCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetResourceCommand.ts b/clients/client-api-gateway/commands/GetResourceCommand.ts
index 2ecc963ff600..81e114ddf20a 100644
--- a/clients/client-api-gateway/commands/GetResourceCommand.ts
+++ b/clients/client-api-gateway/commands/GetResourceCommand.ts
@@ -28,7 +28,6 @@ export class GetResourceCommand extends $Command<
GetResourceCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetResourceCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetResourcesCommand.ts b/clients/client-api-gateway/commands/GetResourcesCommand.ts
index 1e06ee479857..07aeb3cd8d22 100644
--- a/clients/client-api-gateway/commands/GetResourcesCommand.ts
+++ b/clients/client-api-gateway/commands/GetResourcesCommand.ts
@@ -28,7 +28,6 @@ export class GetResourcesCommand extends $Command<
GetResourcesCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetResourcesCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetRestApiCommand.ts b/clients/client-api-gateway/commands/GetRestApiCommand.ts
index 3423bfc906d7..51d4957dbb72 100644
--- a/clients/client-api-gateway/commands/GetRestApiCommand.ts
+++ b/clients/client-api-gateway/commands/GetRestApiCommand.ts
@@ -28,7 +28,6 @@ export class GetRestApiCommand extends $Command<
GetRestApiCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetRestApiCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetRestApisCommand.ts b/clients/client-api-gateway/commands/GetRestApisCommand.ts
index c77714ceeeaa..6f694ba942a3 100644
--- a/clients/client-api-gateway/commands/GetRestApisCommand.ts
+++ b/clients/client-api-gateway/commands/GetRestApisCommand.ts
@@ -28,7 +28,6 @@ export class GetRestApisCommand extends $Command<
GetRestApisCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -46,10 +45,7 @@ export class GetRestApisCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetSdkCommand.ts b/clients/client-api-gateway/commands/GetSdkCommand.ts
index 01e7b658cdf3..ff4aba94fdc1 100644
--- a/clients/client-api-gateway/commands/GetSdkCommand.ts
+++ b/clients/client-api-gateway/commands/GetSdkCommand.ts
@@ -21,7 +21,6 @@ export type GetSdkCommandOutput = SdkResponse & __MetadataBearer;
* Generates a client SDK for a RestApi and Stage.
*/
export class GetSdkCommand extends $Command {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -39,10 +38,7 @@ export class GetSdkCommand extends $Command {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts
index 7711c34c6e0a..3950283a847e 100644
--- a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts
+++ b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts
@@ -25,7 +25,6 @@ export class GetSdkTypeCommand extends $Command<
GetSdkTypeCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetSdkTypeCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler {
- if (!this.resolved) {
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
- this.resolved = true;
- }
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
const stack = clientStack.concat(this.middlewareStack);
diff --git a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts
index 99f93f3906ea..3090379cd58c 100644
--- a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts
+++ b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts
@@ -25,7 +25,6 @@ export class GetSdkTypesCommand extends $Command<
GetSdkTypesCommandOutput,
APIGatewayClientResolvedConfig
> {
- private resolved = false;
// Start section: command_properties
// End section: command_properties
@@ -43,10 +42,7 @@ export class GetSdkTypesCommand extends $Command<
configuration: APIGatewayClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler