diff --git a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts
index 0e9d573cfaae1..c4cf3ca91536a 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 4880b643e7e18..95c9acc5213fa 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 a0e6670228fba..f7962e96f045e 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 6027599f85a38..c8fb52a0cc755 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 26f5ad3b9bcef..ff5a0206b04d4 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 7fb7bd5edbf75..6df89f35a0408 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 8ed170f98d542..7f0e2c7b9c88e 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 5cf77f21a82f1..137da3b10fb0a 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 7399c44792e4b..217c10bf9c4eb 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 3f3256ac45606..7492aeeb4eb13 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 111d65a1515b3..8e00f57119269 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 601cb2b523b2b..16458a951e1fe 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 e63be2f51e3c2..d2cf319550184 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 330fb86c93feb..3898570a2db5b 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 c13645dd0e36f..2574b24af84c7 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 d37c511892b81..a24b783f606fe 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 07f61b753a8e9..b42076113ebd6 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 a1b1d87f36bf1..3622800d8d27b 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 064835a7d231f..0943a720b406e 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 b07c08a0ec90a..a894614174849 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 0005319256235..837fcac3b851d 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 af410c139f034..2f5a3fb2fdc45 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 4ce1693fff88b..5e1ca0761ccec 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 e870812973071..acaa1a8961847 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 a72eeab10d5cf..d07d2497d37e6 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 35b9816cf73b2..df2d7bc6f8c74 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 9b3707f2c6709..e2c0c81774438 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 ae860b468d83a..2af37292766b3 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 7b20c7cf00795..b6a38e1ba1503 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 b19060ea46de1..2a39d71515471 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 9605d5a2aa2f1..209607ea65214 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 58791e958d3ee..75131c8d05a21 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 bbd995cd76532..d62ea457a36b4 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 7b463b9ff9eb2..55fb4f6cfce75 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 bac9599b6c89f..058952c9f8300 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 3321c6b794933..f66915d0e1161 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 c82d47f645da6..5dfed12faf881 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 5bdd5ede7b1c8..7ee626a1ed439 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 97281b21d999f..50ab521ef697f 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 7d6dd1db02e52..f9afb1353c3c9 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 e07d9e5056067..78e8d9670bfbf 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 f659394ab89fa..e40ab7316cc8d 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 83be8a3824e47..35c39075d3019 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 a58d43d6d3470..9209ed603f63b 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 d9754314b08ac..905d60e8bd2c3 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 06ce4133110dc..78169092af9f6 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 31b11962cb325..cd004d535ba16 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 4ad792ea9b2f2..3c6e5c05d2743 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 4d4bbd9ed35bc..0736c702ed4eb 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 90dceef7e98b5..3d30560437756 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 80fa0cb328173..45c4617c37a0d 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 4c10ec002ed7e..5dfb1bacbe756 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 f012146e0316d..f9e324c99f1b2 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 1839a9eefe91a..cd01eda9978ae 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 3ea537129add4..a1f785ec88726 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 9a7e6bb2474ee..5302dabd5828b 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 2f8ef51cf8871..0120c1c77ec05 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 feef963a2b791..8ceb0375472da 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 ed81465a0e868..301d2d753a216 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 313d10c98715d..03aa7c1b94a55 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 895faa0315836..68fffe4bb91c3 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 5a4f8594e6098..cca31dfbeb665 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 51a9d89adee2f..e29369f3c35ae 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 7c248277c6a00..672abf71e59b5 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 efabec2cb5e87..4a3b27fbb4520 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 232ae9bf16d33..f7437c87b03b7 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 b688c013b9a2a..af5d326f2a984 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 5fa15e809b547..8974d1524e8a3 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 f25b1accd6732..f8abb8ef16e6b 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 4b7a49aff5db2..9fd069429b056 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 1afadf64890cf..e5af186d23b99 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 d0cdda44f2057..f0d93424f2a91 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 184850e7f99c1..564b87a21bb84 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 03f5c4f84d78a..080b506221002 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 8a8b26ca2db0b..8ed7d6de95d3c 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 d31ecd3a2249f..60f5b13599534 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 7a6f97942ae62..b33b65d094149 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 64fcaed2005a3..3f8983aeda5f9 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 9216e320811a7..48830d6fa93d6 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 37e1fde0a476b..ccc2287eef0d1 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 ec89681c3fca7..d7d294e64b94e 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 79f6fe45da176..58cf05115ebfb 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 ea9e9de83cd31..78c7cbeb3b205 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 c2e15e5ce8a83..1fda377c7d97d 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 f4f86a5e2bcba..f8cc8235ba883 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 2c10da5b3df9f..ea52d1469a7cf 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 ded7cbb2a7c51..be4f8bedf4b78 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 ef91198fbecf7..f04467b5676ee 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 d19f2c726b5bd..cd5c4904f4c28 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 06f4160ecd450..2a2d1d328a5b2 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 09aac3ed58687..f52344eaa70c5 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 efba86e5870de..a42eb3810e6aa 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 2d5cb692d58f3..b9f0b6a405931 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 ff2d40dbd66f4..19fb90211c7ac 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 ee612277a6357..08144c4e34c5d 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 8241ab85e81ea..9dcd65b2363ef 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 9eba600e41d15..0fd3fa0616c3d 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 1cbbea57ca08e..24972b55c9e5b 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 2db7e294333d9..54166ad406e31 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 dbed69814c170..5d407427f8a18 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 7621ace9b7cb9..42620a3b77fdb 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 bc39fa0728fb7..8c2477c8cd94b 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 23dc16b550784..f6a7773db9843 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 d6c5f42adef02..3011a2dcdf6b8 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 4bf10bbd50475..8d7920bb4229f 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 f9ded17f121d3..cd3d61e823eea 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 55eb62fbbae70..ab8096d2f37dd 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 e7e2e453a833a..f8091f8370b44 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 bccba820f223c..bab117aa9dea3 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 add1baeb785fe..60b123a2fc2f4 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 f3069e621bda9..fa6d729cec37e 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 b32a90d296709..f45508871f9e1 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 a28dc3235c462..a19d0bab26b2e 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 d364e60bcd925..cec7102aad309 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 d0e358872d05c..a9171f23e67c1 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 5fa5015e6bbcc..4a36d0f19fbd8 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 db5627a5667df..22ebf91665732 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 e5ab9acbfa3ed..a63463af0fc46 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 d61962dd496d4..a6152f9cbbfb7 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 771535b9939c5..07f35e5a7319a 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 6d2b216f8e070..927f7463fd6c6 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 f62771830029d..2b7a9070be3dc 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 4acee89554539..9baafac259c96 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 c705a48f987d8..c42b1d47faf26 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 ea60db3879eaf..b62649b25a23a 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 911399d97a87a..ac9c75032ff08 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 3de7ed333a0fb..ba80945f6ae48 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 2141c90e98495..b742ef02d0f91 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 a65b3ccb8e743..3ce261dcdadbf 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 0862650b3d2dc..bd9af2cf26c51 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 3f14f13bd4ba9..f44f80fd6425b 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 9c89962ae12f6..a35611fa8922a 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 04ad5294dfa5b..fe2040245744b 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 e9d8911fcd356..3383faf38d7c2 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 6c33c6f863533..74678ca854f14 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 031c8f36ba0b4..fc2ba6916cb11 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 7e458ced5078d..06ad624a7ffa8 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 adbb10b806830..8cf77e1826005 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 e237883c93a6f..683d1a1e927d8 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 7528032c4197c..29566ab28d6c0 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 ee280dc7b6c89..9a34cda6c9f68 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 8b14acea43907..8f7148c3ea830 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 2cc0aae416210..7248355a21eb9 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 8a0e855b4f63a..c53c8b67fd4b5 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 0e812dad3970e..72eea3152a9cd 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 05c6e8ba1ca10..2f038d9e60f37 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 ac757b52e2ffb..bdb34abbbb73d 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 29fea9bc4b465..b0f5d91f42596 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 7d55355c13362..ad7664be49fa0 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 9637a2eb8074f..9678e559560ff 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 733dd21061155..b9c2746399a09 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 2d59aea38a9cb..b8b38c3dff38f 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 3fbde8099b711..a8221e89d3248 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 1c3e39c5223c9..e5bd488e5c0bc 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 53649a94346dd..f1e73ee4c6f66 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 2c2f26c1b2011..d47dea76688f9 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 07c60ca580abd..c8866a42a0156 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 1d5449ce7d23d..31f9db60ef1e5 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 3848331aae715..a8580f4f965c6 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 cd8b73ae0f8ad..fb9e993a7f5c4 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 8981eb07fcecd..8b9b84ec923f9 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 8772b101603f4..6f5a7146fa67d 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 5fe57ae954e14..0cf9d254be7c8 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 4139bfa737fa2..e5ebbe746f578 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 174bd4f0c7727..092cc79753bea 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 e63ad13ff0dab..1bc2363b7f81e 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 034d26defd3a6..e32f47ed559a1 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 5cc2a50e05d4c..aea9bb69ac256 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 c29932784059b..4d2bfdbbadcf8 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 255c373190f7a..fa47e6c225748 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 e3e2b9e840d47..a977377a7bfed 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 6e869652b5cf9..b24dc8762429b 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 eaccd101d40d3..ef1e0ade37b08 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 1ec5764603df4..b2aad33b8ff8a 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 d7c6be4765280..ddf311effac9a 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 3a486153ce1c4..4036601b1a985 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 d663336de3f70..e9eadb510e365 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 75b7516a74e23..4f0d69223fcfc 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 c74e3d518e84e..743b2dae29afe 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 f3445e46a30af..8b97393ba790f 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 59ebea5e7c8d3..cf97b51057662 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 783b1bdcf0cd9..a56cae54093d7 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 dc042a10556e9..8788fd8528c49 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 f7c5c71918218..01b4d490ad212 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 9508ba8f2da80..e72dda96e1c80 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 c0e839725753d..fa4f5576fd1e5 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 ee66b1f262a8d..fe64123da4cd1 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 7c4ee7b5efc74..cf3b3aef47026 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 413fe1da22bf2..485eda85ae6f5 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 cab388b376838..a7df506a701d4 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 192b0b2001cdb..834aeeedb1233 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 d787c13fb45dc..d3dc8c56d9fa8 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 c48e8d0eacf44..c56726b59a808 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 16c9b5326105d..50381ff5f9ed3 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 f87d4bbbdf058..38b40362d6222 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 83992454ab47e..e7343e0671585 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 25c9a5dd59e17..4c82de84ff465 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 11d15e905d1c7..5a4d1a4763154 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 71c3ad87f3d16..790c49d4ded42 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 d4568d24fb2c3..a19b1ff389153 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 177de60027958..f4d5d4508d477 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 42590104fbff8..6b5b5545ed741 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 06069dc19447d..88da4106bf72b 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 2a8c2e3f54f6d..ee3be6e760f1e 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 fc5ef2e6ff382..7373cb4b5ae08 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 c33d75106e84d..72dda5ca50cfd 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 b532ca273f6e4..617e9f8db6d28 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 6ce59fc01dced..9f6b0662da7f8 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 71800662e953f..19ae4f0e2e441 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 39f2451e581ae..4c6d477c9e15b 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 eb34f31e9994f..b7a3d403debab 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 a1289f79e21df..3e8621103cfef 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 0de0b544d71cd..7a8c17c9d822a 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 4d2dcdcce5cb8..b1a828cc3144f 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 fe2f0860244fb..fa5db31960823 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 7df75b598a0ac..d20a4f58480c3 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 f00f40d56c47e..4d9129d841242 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 1a1a529a411a4..ab38ab6c59985 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 c685c1d7a913f..0a87866da4ae4 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 2be0db2da4432..82aa01658940d 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 be20c89ed91e6..cfa4174863743 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 5c31fe2c423eb..3533ea08a48a1 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 04b0cb5aac1bc..3793c307e6979 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 c3558474861cc..7ea07afecd830 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 1594f204280fd..1f3f1098e5af1 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 855c789746b94..ca0aa071ecb08 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 cd929f22faf31..326578005b138 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 1b1abf5f63707..a62f7278ba3a5 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 37372462274a5..5167dca39ca31 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 298db5c8d8dd8..d4128b3b1d709 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 e2024e1e8c3a0..1bbc1cdde911b 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 33f56780975e4..ee201f8167fbb 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 fdc0df17f2558..df0f274bbbe1a 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 daa5a1849923a..9b534d09f0533 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 b89757a562ca9..88270c47f3d0a 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 3bbca491a0020..0ecf9756db297 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 3de839c5b990a..e5d7baf176d35 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 96ca359a8e690..0a886f9fa9f81 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 c4105d919c1e6..cfcc1e0365c4e 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 bef76ef640ebb..6c18751d7af3b 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 2c34e421154cd..de9788eaaa946 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 7a9bf424771bd..a2d9c2336bae0 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 6daee3ed42099..80c7abcb3d76d 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 96218d201ad11..9de4b235cd234 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 0a9e845ed04d5..8553898d74f8a 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 2d155c1f367b9..93206e621da4f 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 c4fac3e1f7c85..acc5a0c0854e7 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 7b7646a1c6c8a..30ca8e36a66f0 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 22239f1a5944b..0ea49e19b276e 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 101961255f759..05b95f7e057b4 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 479da5aa6bbdf..98a5be09b8ad0 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 5ee2af6eb7487..b345720be0cc7 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 e258ccb504d32..20204a1cb4cd8 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 5d0c2f20eb80a..2e7fc12cee719 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 f53789ff48bb2..301e98e726a7a 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 f5662dd71b730..9dc389d6868aa 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 7f47fbcc46e67..9ed35c4607903 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 7180e1d82809f..b2f18d63113cf 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 2f68d30247cc6..24a3e0b0f9835 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 37e19e77e02e3..d38f9722be964 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 c21fd7ebb8c94..5924b4feb4167 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 ee207f95a941e..151915b4ac047 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 37131d7b3aa7b..ffed84646ea3f 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 b48ecf81c995f..35da003283e35 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 966d641d131fd..2e0f88cc16aca 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 52249bac457a1..39c4c4f34686a 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 cc1961302d8dd..7f90ff4a66fa3 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 e359cbf3e6e30..3dc35f0a001ae 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 0f1bff466a97f..3a3c45b156526 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 abe61a925f489..d0d7d4acc6dbf 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 57b99b6b5b817..f35a227ede505 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 b6393840d1182..c5172236846b0 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 47f0cd2c795f5..1faa1baf966ab 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 4fe9b0c8dddb7..af1c4e5d4cad5 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 895afcc06e745..ebd9221be7a96 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 73fa685387f31..414244af05b40 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 2ecc963ff6000..81e114ddf20a7 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 1e06ee479857f..07aeb3cd8d22e 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 3423bfc906d70..51d4957dbb72f 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 c77714ceeeaaa..6f694ba942a3c 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 01e7b658cdf30..ff4aba94fdc1d 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 7711c34c6e0ad..3950283a847ec 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 99f93f3906eaa..3090379cd58c8 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